#all{
    width: 100%;
    height: 100vh;
    /* 控制高度！！！！！！！！ */
    /* background-color: bisque; */
    min-height: 600px;
    background-color: lemonchiffon;
}
#core{
    width: 100%;
    min-width: 1000px;
    height: auto;
    background-color: white;
    padding-top: 80px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    justify-content: center;

}
#main{
    width: 90%;
    border-radius: 20px;
    border: 1px dashed black;
    background-color: #8a8f97;
}
.shelf {
    display: grid;
    grid-template-columns: repeat(6, 110px); /* 考虑到间距，增加每个格子的宽度 */
    grid-gap: 10px;
    padding: 20px;
    background: #f0f0f0; /* 展柜背景颜色 */
    border-radius: 8px; /* 展柜圆角 */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 展柜阴影 */
    margin: 20px auto; /* 居中显示 */
    max-width: 700px; /* 展柜最大宽度 */
}

.decoration {
    display: flex;
    align-items: center;
    width: 100px;
    height: 100px;
    border-radius: 4px; /* 装饰品圆角 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* 装饰品阴影 */
    transition: transform 0.3s ease; /* 添加过渡效果 */
}

.card {
    margin: 0 auto;
    cursor: pointer;
    width: 50px;
    height: 80px;
    border-radius: 8px; /* 卡牌圆角 */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* 卡牌阴影 */
    transition: transform 0.3s ease; /* 放大动画 */
    background-size: cover; /* 确保背景图片覆盖整个div */
    background-position: center; /* 背景图片居中显示 */

}

.card:hover {
    transform: scale(1.1); /* 鼠标悬停时放大卡牌 */
}

.card_img{
    width: 50px;
    height: 80px;
}
#search-bar {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

#search-bar input[type="text"],
#search-bar select {
    padding: 10px;
    margin-right: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

#search-bar button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

#search-bar button:hover {
    background-color: #0056b3;
}
